package com.daybook.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.daybook.pojo.Order;
import com.daybook.pojo.ShopCart;
import com.daybook.pojo.ShopCartAndBooks;

public interface ShopCartService {

	//1.添加购物车
	public int addNewCart(ShopCart shopCart);
	//2.更新购物车
	public int updateCartById(ShopCart shopCart);
	//3.删除单条购物车
	public int deleteOneCartById(int sid);
	//4.删除多条购物车
	public int deleteCartByListId( Integer[] sidList);
	//5.查询我的购物车信息
	public List<ShopCartAndBooks> getMyCartList(int uid);

}
